Arduino and MPU6050 gyroscope angle reset command

I am working on a project where i have to calculate the bike's race handle(from which it accelerates) angle.
So for that i am using Arduino nano + Gyroscope Sensor + Oled display(To show readings)
I am able to get values from sensor but i have to provide a button which will reset the angle and start from 0 degree.

Right now it has fixed orientation i.e from 0 to 360 degree.

What is Your qestion?

You can try to find the angle variable in the library code, or remember the angle at reset and subtract it from the subsequent readings.