update UI also when selecting color from dialog
make use of utility function for checking intents
changes for 1.6.7
changed resource names