modif. activities and layout