If pin was moved manually, set the flags appropriately