Added an activity for the palette and connected it with the main activity.