// Function that based on the Status of Order changes to the Appropriate color and parses to database

        private void DoneBtn_Click_1(object sender, EventArgs e)
        {
            if (this.BackColor == Color.Green)
            {
                messageLbl.Text  = "Order Already in Completed State";
                WorkerIDtxt.Text = "";
            }
            else
            {
                if (DoneBtn.BackColor == Color.Gold)
                {
                    if (WorkerIDtxt.Text != "" && IsWorker(WorkerIDtxt.Text) == true && this.BackColor == Color.Yellow)
                    {
                        messageLbl.Text = "";
                        String workerId = WorkerIDtxt.Text;
                        WorkerIDtxt.Text = "";

                        this.BackColor = Color.Green;

                        FoodOrderDAO.SetOrderStatusToDone(NoLbl.Text);

                        this.BackColor     = Color.Green;
                        DoneBtn.BackColor  = Color.MediumSpringGreen;
                        OrderLbl.BackColor = Color.Green;
                    }
                    else
                    {
                        WorkerIDtxt.Text = "";
                        messageLbl.Text  = "Error occurred";
                    }
                }


                if (DoneBtn.BackColor == Color.MediumSpringGreen && this.BackColor != Color.Green)
                {
                    if (WorkerIDtxt.Text != "" && IsWorker(WorkerIDtxt.Text) == true)
                    {
                        // messageLbl.Text = "";
                        String workerId = WorkerIDtxt.Text;
                        WorkerIDtxt.Text = "";


                        FoodOrderDAO.SetOrderStatusToInProgress(NoLbl.Text);


                        this.BackColor     = Color.Yellow;
                        OrderLbl.BackColor = Color.Yellow;
                        DoneBtn.BackColor  = Color.Gold;
                        DoneBtn.Text       = "Complete Order";
                    }
                    else
                    {
                        messageLbl.Text  = "";
                        messageLbl.Text  = "Error occurred";
                        WorkerIDtxt.Text = "";
                    }
                }
            }
        }