Improve input handling and abstracts

- if the scanning is successful, show the map screen
- if the text is submit, show the map screen (for testing)
- else stay at the same place
- check out {{current}} and {{current_building}}