Refactoring and housekeeping.

Refactoring includes extracting constants for filters used by the
navigation drawer, as well as pulling out a new method to set the color
of a TextView square, reducing duplicate code.