Fixed minor bugs. Added feature where clicking 'X' button cancels changes to cell