Add case for flip state in set nav state function