Put in hook for mode selection buttons