Moved a function's code and added some bugfixes

The function ask_for_anime was only used for adding new entries in
interactive mode, so the function was combined with the "add" function
in InteractiveMode.
A while loop was added to InteractiveMode's "add" function to prevent
empty names from being added to the database.