fix crash when no world is selected and configure button is pressed.

by moving return statement out of if-then-else clause...

Also improve behaviour when no mods are installed: Only show enable
all / disable all buttons for all add-ons when at least one add-on is
installed. When no add-on ist installed, don't show any buttons or
checkboxes.