successfully registers and posts local notification