ref #6903 initialize layout and click listener just once and refactoring
ref #6903 preload status from preferences in dialog
ref #6903 cleanup and refactor distribution editor
ref #6903
Fixed #6802 and switched to mvp