added sync button and frontpage bool