refactoring
using text buttons
renamed to init
removed doubled items
rmoved unused import
clear on close