update on ipad

creating class has been modified to be triggered by gesture "D"; fixed
some may-be problem that relations cannot successfully be drawn by long
press