Link shortener made in JavaFX, using bitly api