code cleaning
close issue #16 + restore Templates open button