Prevent applying an empty changeset.

Do nothing if we achieve to click on the Apply button with an empty changeset.
Hide the changeset tab after install and clear.
close #659