Update nav color checking function