Fixed an error for the night icons
Added the functionality that after the button is clicked, the input field will hide!