[FIX]Some bug fixes, graph data not refreshed, sync data fails, if no minutes there then it shows undefined, refresh page removes pending activities