Introduce 'const' argument and handle it properly in GUI. Fixes #149.
Merge pull request #150 from jkoncick/master

gui: Fix 'Show Packages' button needed to be clicked twice in some cases