Added download firmware logic to widget