Designed new layout with search history (CAUTION: program is not working
here!)