adding chosen class to selects elements. Fixing thumbnail saving on insert method