navigation bar buttons binding moved to separate file