Updated the preferences view
Enabled a way to remove the previous layout and panel to refresh the preferences
Added some documentation