Add color resources

I think these were left out by mistake from a previous commit. Checking in some
colors now just so the app will run directly as checked out.
Minor cleanup

Get rid of some logging and clean the code up a bit. There should be no
functional changes. Some of the changes are just to get my IDE to stop warning
me about casts.
Use SparseArray in place of Map

I just did this because Android Studio suggested it. This part of the code is
not performance critical, and I think the resulting code is a little messier,
but at least Android Studio likes it.
Remove some repeated code

Cleaning up the mess I previously made by programming by cut-and-paste. There
should be no functional changes.