Man accused of setting off explosive device in Dearborn church in custody