Implemented BaseActivity with repeats code