Added click and object locations to db