Fix brightness and screen timeout