helper methods in toolbar and navigation