My application allows to send a pre-registered message to anyone with the medium of your choice. It works like a share button.
For example, I say that when you click on my active 1, it plays its animation and then open a selector. This selector allows you to choose between the mail application, Facebook, Twitter, SMS etc After you've chosen the way you want to send the message, a message pre-registered, like "hello this application is great" appears in the text box of the application you chose.
Here is what is wrong, when I click on my active 1 and the selector appears, if I use the "come back" button of my Smartphone, and then click an active, the animation of my active is blocked and the application crashes.
What can I do ? Knowing that if I choose an application to send the message so it appears in the textbox, my "comeback button" doesn't cause the crash.
Thanks in advance for your help, forgive my english, I'm french and might not be understandable ^^
P.S.: The selector I'm speaking of is the box which appears when you can choose between multiple applications to end your action