It is never shown because you are calling
try {
Thread.sleep(3000);
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
that makes "sleep" the thread responsible to draw the same ProgressBar
you are trying to show