if (resp.status !== 200 || data.status !== 'success') {
      QPixel.createNotification('danger', `<strong>Failed:</strong> ${data.message}`);
    }
    else {
      location.reload();