Fixed the error with the List all and Cancel buttons not working.