UI Tasks view: fix per page settings

Configuration -> Tasks -> per page settings and page navigation
wouldn't work correctly:
* the view would always default to 50 items per page
* incorrect numbers shown next to the navigation icons

Fixes #818

https://bugzilla.redhat.com/show_bug.cgi?id=1171150
@mzazrivec why do we need unless check here, don't we only call change_tab when tab is changed in UI, i don't see any other callers of this method.