Added buttons for 3 modes.