Update RangeSearch.java

Looked further and it was an easy first. If db is not populated yet then it tells the user they have to populate it first and then returns to the main menu.