Global variable for navbar search