ref a main activity style