Сustom application screen disappear after changing the orientation