Logic Changes & Sweet Alert