problem with settings closing when orientation is changed is fixed