added java to wake-lock preference