now the value of deadline can be fetched, and value can be set in progress bar