Color selection and lifecycle bugs

Changed color selection from holocolorpicker to list of colors (can
still add new colors with holocolorpicker)

Fixed bugs from trying to get local database from main activity before
it was created.