Added dialogs and buttons for gyro