Update text_menu.py

add time.sleep()