Adding "get pending tasks" button to demo page