Deleted non-needed declarations of buttons.