Solved Button Plugin

Ufff, lost some hours to understand how to fix it.
Will watch with interest how it can be rewritten.