Refactored settings button