Creating a button handler - Sapphire - Imagine a Framework