Add locking to notification card
Fix locking of input handler list