Add onbackclick support for title bar to hook custom logic to the back button