changing activities by clicks on the buttons, gridview for pictures