Fix Bug 943847, handle cases where data is null and add spinner on click

@AdrianGaudebert r?

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=943847