fixed wrong download state check for notifications