modify activity main entry