add applicationDidReceiveMemoryWarning to the ApplicationProtocol