NavigationBarView: Reduce getInt instances occuring in setDisabledFlags()

This method is called a lot so lets try to simplify the IO being done here

Change-Id: I7ab558d727de3b150f887a7bf1fb28880474edee