CustomProgressBar implemented with Back Button Exit