added app delegate function to readme