Disable navigationbar userInteraction when loading database