Deleted DeterminateTask and CustomProgressDialog classes.
Renamed IndeterminateTask to ProgressTask.
Added class AsyncTask to handle basic functionality that was previously included in ProgressTask.
Moved OnTaskCompleteListener to inner class of AsyncTaskEx.
Re-coded the implementation of ProgressTask with respected to progress updates: included automatic handling of progress bar type depending on whether progress max value is greater than zero.
OnTaskCompleteListener now uses a generic type for result value.