Refactor transformed image painting. Add gradient on/off button
Add gradient icon. Refactor shapes drawing. Correct selection