fix getAdapter
fix notification when pushing a record, add trigger for push

createRecord was not beeing used