Fixed add listener function for my app button