add button stop animation

+ rename some functions