Implemented previous speed for ceiling fan for undo functionality
Finished the command pattern