Fixed code for changing prompt
Fixed code to delete history item