Refactored
Flush stringbundle on unload
Added form submit event