Init refactored
Restore modal boxes on install and fix #75
Remove code duplications thx to init refactor