clean code and add categories image folder selection

Signed-off-by: Gergely Tóth <tgely@gumisarok.hu>