Adds use magic button and function