Save actions to firebase