implement Add activity page and combine it with main activity