Refactored Settings.jsx, introducing InputPanel component