Changed main activity stuff