another attempt at using localnotifications