Working app after being changed to Eclipse