You should create the icon once at the beginning of your program (wherever you are creating the button).