Fixed db.Add in RepositoriesController

Other fixs:
Icons