add querystring code, and setup input values and plot if exposure id is provided
set granularity back to default if provided invalid value for select
added view type and fixed null issue