add button for preferences