fixed layout redraw
Merge pull request #141 from lexoyo/optim-app-init

fixed layout redraw