     e.preventDefault()
 
 
+  # Show auth button if user is not authorized
+  #
   chrome.storage.local.get 'vkaccess_token': {}, (items) ->
     if items.vkaccess_token.length is undefined
       $('.auth-actions').show()

    e.preventDefault()


  $('#auth').click (e) ->
    chrome.runtime.sendMessage {action: "vk_notification_auth"}, (response) ->
      if response.content is 'OK'

    return


  # Get group-items from local storage
  #
  chrome.storage.local.get 'group_items': [], (items) ->
    groupItems = items.group_items

