Moved profile sync and added sync interval.