fixed db getpending challenges

also fixed progress status images