Added the action bar controller and the clear log function