Protect UI code from exception because of some possible raise during screen rotate