Added button to sync data but doesn't seem to work! Am I doing sth wrong?