Implemented state saving mechanism for screen rotation ...