Set task expiration from the perform view (#1303)