Implemented level selector and fixed a small bug in color picker