rework the binding and handler into the BaseActivity