Added null check before storing image and changed image storage type to
png.
Validating photostatus
commit for checking photostatus
Added TableViewer for PlanDetails.