Is there a way to change permission on any directory from drwxrwsrwx to drwxrwxrwx?

This is set-group-ID bit, to remove it use:

chmod g-s app

See man chmod for more information on how chmod handles set-user-ID and set-group-ID for directories.