Fixed several bugs:
* Not possible to connect to more than 10 hosts. (wrong regex)
* Add a new host. (updated prompt - less confusing)
* Add a new host. (overwrited last entry)
* Save hosts. (saved hosts in reverse order)
* Reformated code.