Queens problem with UI on Android