Brushes generation added. Activity onResume crash bug fixed.