refact app nav bar