Added actions to query history view