Added a okay and cancel button to option form
Set the form accept and cancel buttons