Added new way of saving listeners on orientation change for devices with API > 11