Add activity lifecycle methods