Finish remove duplication code for MyActivity