Added functionality that makes sure poll list only refreshes if tab is focussed