Pickup brightness and on/off state when app boots