Predefined main class, Ribbon activation after focus in Java Addin window