Fix keyboard shortcuts for app in subdirectory

If the application is within a subdirectory, the subdirectory needs to
be provided so that the keyboard shortcuts work properly.