Make color picker apply color immediately

Change-Id: I38695a43ced63bd5207b631a072231d81aa7e0f9
Change vector<Palette*> to ptr_vector<Palette>

Change-Id: I1f2832235e8d2ea3517efdce809970ed5f1c6769