Revise code to fix the position of object when user tab it and change condition for making decision "Is it in the group?"