Add cast for sqlite queries and update notif text