Added validation so add item button now gives a warning if there is no line selected from results table.