adding the switch command for xcode
adding android-lifecycle as event handler
updating readme'
fixing source