added activity to every layout