added global variable for searchText with getter/setter methods