Fix empty events popup; fix empty visits day; change couchbase connection