I solved it this way:
- To execute it only once after the installation I followed this post.
- To repeat the animation I used the code provided in this post.
Now the ShowcaseView only appears once after the installation and the gesture animation is shown as long as the button is not clicked.