Adding History Activity and modifying Instance Chooser List for classifying different activities…