Ipazzport bluetooth keyboard problem

Hello. I am running Ubuntu Mate 15.10 on a RaspberryPi 2 and I’m having a problem connecting my Ipazzport keyboard. Ubuntu detects it but when I run setup I get “Failed to connect device” Any suggestions?

Somehow I got this working