Adding keyboard toggle function for brightness