prevent screen rotation to avoid losing data