Added Delete Functionality

Re-added the delete button and changes to the delete function.
Fixed Delete

Fixed the setLightFCWWithRange to include the end time index.