Fix display of multiple alerts in home view - Fixes #4757

Copy the logic on grphics/window.py to avoid display more than one
alert at the same time.

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>