changing the default key-binding to avoid conflict; adding a if to verify how many groups are opened