edit main activity