put bitmap decoding in async task so progress dialog is not blocked