Added a gear for preferences.