Added code to hide and show Refresh and Add buttons based on active item in NavitationView