Warn user if added repository is not a valid repository

If we add a URL which isn't a repository URL the f-droid apps shows toasts
m3

This can be switched to something more friendly like this
m2
right now it looks like this.
7452lMI

Rather than not allowing the user to add invalid repository (checking at the time while adding) we do this process in background or else user would be annoyed by the checking for repository something dialog. Any other suggestion is welcomed.

Edited by Hans-Christoph Steiner