three activites and buttons linked