Use only onResume() for Called at the start of the active lifetime.
All button click events funtion decouple from xml.
Small corections like hint for txtsearch.