Changed autocompletion of graph URIs to Spinner. Prepared storing and loading of queries in db.