fix bug, the app can remember last selected title now.
fix localization
add  editeBarButton state checking