Fixed #76 so that cursor is kept in prompt and fixed #86 so that on selection of the favorite it is moved to the first line.