Update design_prototype_decent.py

Refactored code from InteractionHandler to Mode.