Update Gui for motion sensor

This is a test code . we tested this using a photo gate with simple pendulum .
Modification is required for using motion sensor SR05