This is more of a workaround! If you are signing out of your FB from settings, then it follows a different flow (opens a browser). When user uses the app, he is not gonna sign out of his settings to make it work for your app.
–
DevJan 22 '13 at 12:12