Adjusting layout to fit glass. Setting Keep Screen On flag.