fixed switch outline issue when clicking