Made changes for input box, send button, button destination,
text destination and text format.
http://developer.android.com/training/basics/activity-lifecycle/index.html