Uncommented the code for color data again and changed it a little bit so that hopefully no more crashes will happen. Added a setColor method to Drawable.