Update Idea component to show an 'Edit Idea' or 'Cancel' depending on the editing state.