Small change to keep the value of H and S when V come to zero, take care that only work if you keep the color picker open. When the color picker is closed, the H and S value are reset to zero this is because the color picker is used in a lot of different place and this value need to be reset. (BTW reset to zero only when V is equal to zero!)