show navigation bar status correctly