Fix being able to type favorite names with spaces as well as remove some redundant checks and duplicate code.
Fix being able to type favorite names with spaces as well as remove some redundant checks and duplicate code.

josegonzalez/sequelpro,leichunxin/sequelpro,josegonzalez/sequelpro,abhibeckert/sequelpro,chenbk85/sequelpro,leichunxin/sequelpro,treejames/sequelpro,dnl-jst/sequelpro,chenbk85/sequelpro,eric-seekas/sequelpro,dnl-jst/sequelpro,CoolSwitcher/sequelpro,chenbk85/sequelpro,treejames/sequelpro,abhibeckert/sequelpro,eric-seekas/sequelpro,CoolSwitcher/sequelpro,chenbk85/sequelpro,leichunxin/sequelpro,eric-seekas/sequelpro,dnl-jst/sequelpro,Jellyfrog/sequelpro,treejames/sequelpro,treejames/sequelpro,Jellyfrog/sequelpro,CoolSwitcher/sequelpro,Jellyfrog/sequelpro,kaneshin/sequelpro,josegonzalez/sequelpro,abhibeckert/sequelpro,Jellyfrog/sequelpro,abhibeckert/sequelpro,kaneshin/sequelpro,josegonzalez/sequelpro,eric-seekas/sequelpro,kaneshin/sequelpro,CoolSwitcher/sequelpro,dnl-jst/sequelpro,kaneshin/sequelpro,leichunxin/sequelpro