Added event preferences call into db