Updated motion detection alg.
updated mobile app .idea file