added code for touch events "pull to refresh" gesture that will be used
for adding a new counter