fix cursor problem and try to display all actions in action bar