button on main page syncs cards