Created an enumeration class for keys in commitmentDetails hashmaps, refactored AddCommitmentPanel and AddCommitmentControllers to work with this